home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / crvptdst.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  886 b   |  30 lines

  1. .TH CRVPTDST
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CRVPTDST
  5.  
  6.  
  7.  
  8.  NumericType CRVPTDST( CurveType Crv, PointType Point, NumericType IsMinDist,
  9.                                                          NumericType Epsilon )
  10.  
  11.  or
  12.  
  13.  ListType CRVPTDST( CurveType Crv, PointType Point, NumericType IsMinDist,
  14.                                                          NumericType Epsilon )
  15.  
  16. Computes the closest (if IsMinDist is TRUE, farthest if FALSE) point
  17. on Crv to Point.
  18. Since this operation is partially numeric, Epsilon is used to set
  19. the needed accuracy. It returns the parameter value of the location on
  20. Crv closest to Point.
  21. If, however, Epsilon is negative, -Epsilon is used instead,
  22. and all local extrema in the distance function are returned as a list
  23. (both minima and maxima).
  24.  
  25. Example:
  26.  
  27.     Param = CRVPTDST( Crv, Pt, FALSE, 0.0001 ); 
  28.  
  29. finds the farthest point on Crv from point Pt.
  30.